<?php
/**
 * 配置文件，配置memcached的节点信息
 */

$_memserv = array();
$_memserv['A'] = array('host'=>'127.0.0.1','port'=>'11216');
$_memserv['B'] = array('host'=>'127.0.0.1','port'=>'11217');
$_memserv['C'] = array('host'=>'127.0.0.1','port'=>'11218');
$_memserv['D'] = array('host'=>'127.0.0.1','port'=>'11219');
$_memserv['E'] = array('host'=>'127.0.0.1','port'=>'11220');

//$_dis = "Moder";      //取模算法
$_dis  = "Consistent"; //一致性哈希算法